<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"/>
    <link rel="stylesheet" type="text/css" href="css/root.css"/>
    <link rel="stylesheet" type="text/css" href="css/account/user.css"/>
    <script type="text/javascript" src="js/jquery-3.1.1.min.js?ver=2.0.3" charset="utf-8"></script>
    <script type="text/javascript" src="js/underscore-min.js"></script>
    <script type="text/javascript" src="js/moment.min.js"></script>
    <script src="js/base/api.js"></script>
    <script src="js/base/base.js"></script>
    <script src="js/base/vue-filter.js"></script>
    <script src="js/vue/vue.js"></script>
<!--    <script src="cordova.js"></script>-->

    <script type="text/javascript" src="js/magiclamp.js?ver=2.0.3" charset="utf-8"></script>
    <script type="text/javascript" src="js/swipe.min.js?ver=2.0.4" charset="utf-8"></script>
    <script type="text/javascript" src="js/order/live_cash.js?ver=2.0.4" charset="utf-8"></script>

</head>
<body>
<div id="host_cash_page">

    <header>
        <a @click="login_mogu" v-if="!has_login&&!baseConfig.is_phone" class="h-left back-btn">
            登录
        </a>
        <a @click="page_back" v-if="has_login&&baseConfig.is_phone" class="h-left back-btn">
            <i class="iconfont icon-fanhui"></i>
        </a>
        <h1 class="h-title">提现信息</h1>
        <a class="h-right back-btn" @click="create_cash">申请提现</a>
    </header>

    <div id="root">
        <div class="live-message-info">
            您有<span>{{price_filter(unapply_price)}}</span>可提现, 累计已提现<span>{{price_filter(apply_price)}}</span>.
        </div>
        <div class="com-tag" id="order-tab">
            <a href="#" class=" tag-on"><span>查询</span></a>
            <a href="#"><span>提现记录</span></a>
        </div>
        <div id='slider' class='swipe'>
            <div class='swipe-wrap'>
                <div class="unfinished-order ">
                    <div class="order-item g-wrap">


                        <div class="my-order-title line">
                            订单总数：<span >{{order_num}}</span>
                        </div>

                        <div class="my-order-title line">
                            总可提现额：<span >{{price_filter(money)}}</span>
                        </div>
                        <div class="my-order-title line">
                            已提现订单总数：<span >{{cash_order_num}}</span>
                        </div>

                        <div class="my-order-title line">
                            已提现额：<span >{{price_filter(cash_money)}}</span>
                        </div>
                        <div class="my-order-title line">
                            提现余额：<span >{{price_filter(un_money)}}</span>
                        </div>
                    </div>
                    <button class="alipay-btn" @click="open_order_list()">查看订单列表</button>
                        <!--<div class="order-item g-wrap" v-for="order in order_list">-->
                        <!--<div class="my-order-title line">-->
                            <!--<div>{{'订单编号:'+order.id}}</div>-->
                            <!--<div class="red-font">-->
                                <!--<p v-if="order.status==1&&order.goods_status==0">未发货</p>-->
                                <!--<p v-if="order.status==1&&order.goods_status==1">正在备货</p>-->
                                <!--<p v-if="order.status==1&&order.goods_status==2">已发货</p>-->
                                <!--<p v-if="order.status==1&&order.goods_status==3">已收货</p>-->
                                <!--<p v-if="order.status==1&&order.goods_status==4">已完成</p>-->
                                <!--<p v-if="order.status==-2">正在退款</p>-->
                                <!--<p v-if="order.status==-3">已退款</p>-->
                            <!--</div>-->
                        <!--</div>-->

                        <!--&lt;!&ndash;<div class="order-title">&ndash;&gt;-->
                        <!--&lt;!&ndash;<h1 v-text="order.host__realname"></h1>&ndash;&gt;-->
                        <!--&lt;!&ndash;<p v-text="order.create_time"></p>&ndash;&gt;-->
                        <!--&lt;!&ndash;</div>&ndash;&gt;-->

                        <!--<div class="line" v-for="goods in order.goods_order_item_list">-->
                            <!--<div class="g-item" v-for="goods in order.goods_order_item_list">-->
                                <!--<div class="g-item-wrap">-->
                                    <!--<a href="#" class="g-img">-->
                                        <!--<img :src="baseConfig.qn_host + goods.goods__small_image__fileurl+'?imageView2/1/w/70/h/70'">-->
                                    <!--</a>-->
                                    <!--<div class="g-i-info">-->
                                        <!--<p class="g-i-name order-goods-title">{{goods.goods__name}}</p>-->
                                        <!--<p class="order-goods-mark margin-bottom" v-if="goods.goods__gg">{{goods.goods__gg}}</p>-->
                                        <!--<p class="order-goods-mark" v-if="goods.bz">{{'备注:'+goods.bz}}</p>-->
                                        <!--<p class="order-goods-mark">商品ID:{{goods.id}}</p>-->
                                        <!--<p class="order-count">-->
                                            <!--<span class="order-goods-price">{{price_filter(goods.price)}}</span>-->
                                            <!--<span class="order-goods-num">数量{{goods.num}}</span>-->
                                        <!--</p>-->
                                    <!--</div>-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</div>-->

                        <!--<div class="my-order-title">-->
                            <!--<div>共{{order.goods_num}}件商品</div>-->
                            <!--<div class="red-font">订单合计:{{price_filter(order.price)}}</div>-->
                        <!--</div>-->
                        <!--&lt;!&ndash;<div class="order-info dn-info" v-if="payorder.charge_status==3">&ndash;&gt;-->
                        <!--&lt;!&ndash;<div class="order-btn">&ndash;&gt;-->
                        <!--&lt;!&ndash;<button type="button" @click="open_payorder(payorder.id)">重新付款</button>&ndash;&gt;-->
                        <!--&lt;!&ndash;</div>&ndash;&gt;-->

                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                        <!--&lt;!&ndash;<div class="order-info dn-info" v-if="payorder.charge_status==1">&ndash;&gt;-->
                        <!--&lt;!&ndash;<div class="dn-msg-before" style="float:left;">&ndash;&gt;-->
                        <!--&lt;!&ndash;<span class="waiting"></span>&ndash;&gt;-->
                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                        <!--&lt;!&ndash;<span class="dn-other-info">&ndash;&gt;-->
                        <!--&lt;!&ndash;<span class="dn-order-state">正在付款</span>&ndash;&gt;-->
                        <!--&lt;!&ndash;</span>&ndash;&gt;-->
                        <!--&lt;!&ndash;</div>&ndash;&gt;-->
                    <!--</div>-->
                    <!--<div class="com-notice" v-if="order_list.length==0">-->
                        <!--<div class="icon-wrap">-->
                            <!--<i class="iconfont icon-dingdan"></i>-->
                        <!--</div>-->
                        <!--<p>暂无订单</p>-->
                    <!--</div>-->
                </div>
                <div class="finished-order">
                    <div class="order-item g-wrap" v-for="payorder in cash_list"
                         @click="refrash_withdraw_cash_apply(payorder)">
                        <div class="order-title">
                            <h1 v-text="payorder.host__realname"></h1>
                            <p v-text="payorder.create_time"></p>
                        </div>
                        <div class="order-info">
                            <span class="order-room">
                                提现金额:
                                <span class="price" v-text="price_filter(payorder.money)"></span>
                            </span>


                            <div class="order-price">
                                <span class="price" v-if="payorder.status==0">等待处理</span>
                                <span class="price" v-if="payorder.status==1&&payorder.pay_status==0">等待转账</span>
                                <span class="price" v-if="payorder.status==1&&payorder.pay_status==1">正在转账</span>
                                <span class="price" v-if="payorder.status==1&&payorder.pay_status==2">提现成功</span>
                                <span class="price" v-if="payorder.status==1&&payorder.pay_status==3">提现失败</span>
                                <span class="price" v-if="payorder.status==1&&payorder.pay_status==4">正在转账中</span>
                                <span class="price" v-if="payorder.status==1&&payorder.pay_status==5">转账取消</span>
                                <span class="price" v-if="payorder.status==2">拒绝</span>
                                <span class="price" v-if="payorder.status==3">异常</span>
                            </div>
                        </div>
                    </div>
                    <div class="com-notice" v-if="cash_list.length==0">
                        <div class="icon-wrap">
                            <i class="iconfont icon-dingdan"></i>
                        </div>
                        <p>暂无订单</p>
                    </div>

                </div>
            </div>


        </div>
    </div>
    <input type="hidden" name="page_num" id="page_num" value="1">
    <input type="hidden" name="page_limit" id="page_limit" value="5">
</div>
</div>
</body>

</html>